package com.phiture.erp.produce.core.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Schema(description = "管理后台 - 主计划新增/修改 Request VO")
@Data
public class ErpProduceMainPlanSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5045")
    private Long id;

    @Schema(description = "计划编码")
    private String no;

    @Schema(description = "源单据ID", example = "14502")
    private Long sourceBillId;

    @Schema(description = "来源单据编码")
    private String sourceBillNo;

    @Schema(description = "来源单据行号", example = "5676")
    private Long sourceDetailId;

    @Schema(description = "物料ID", example = "16698")
    private Long materialId;

    @Schema(description = "单位", example = "18186")
    private Long unitId;

    @Schema(description = "规格型号")
    private String mode;

    @Schema(description = "数量")
    private BigDecimal qty;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "开工日期")
    private Date startDate;

    @Schema(description = "完工日期")
    private Date endDate;

    @Schema(description = "物料属性")
    private Integer materialAttr;

    @Schema(description = "MRP选单")
    private Integer mrpSelected;

    @Schema(description = "状态", example = "1")
    private Integer status;

}